package com.fjnu.dto;

/**
 * 用户查询条件DTO类
 */
public class UserConditionDto {
    private String username;
    private String email;
    private String phone;
    private Integer status;
    private Long minScore;
    private Long maxScore;

    // 构造方法
    public UserConditionDto() {
    }

    public UserConditionDto(String username, String email, String phone, Integer status, Long minScore, Long maxScore) {
        this.username = username;
        this.email = email;
        this.phone = phone;
        this.status = status;
        this.minScore = minScore;
        this.maxScore = maxScore;
    }

    // Getter和Setter方法
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getMinScore() {
        return minScore;
    }

    public void setMinScore(Long minScore) {
        this.minScore = minScore;
    }

    public Long getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(Long maxScore) {
        this.maxScore = maxScore;
    }

    @Override
    public String toString() {
        return "UserCondition{" +
                "username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", status=" + status +
                ", minScore=" + minScore +
                ", maxScore=" + maxScore +
                '}';
    }

}